package main

import "fmt"

/*
局部变量
*/
func varScope1() {

	var local1, loacl2, loacl3 int
	local1 = 8
	loacl2 = 10
	loacl3 = local1 + loacl2

	fmt.Printf("local1 = %d,local2 = %d,local3 = %d\n", local1, loacl2, loacl3)
}
